<?php
/**
 * Created by PhpStorm.
 * User: songs
 * Date: 2019/8/23
 * Time: 10:43
 */

namespace App\Jobs\Yii;
use Illuminate\Http\Request as BRequest;

class Request //extends BRequest
{
    public function get($type){
        return isset($_GET[$type])?$_GET[$type]:null;
    }
    public function post($type){
        return isset($_POST[$type])?$_POST[$type]:null;
    }

    public function getQueryParams(){
        return $_GET;
    }
}